@extends('common.layouts.master')

@section('title')
Sign In
@stop

@section('content')

@if(count($errors) > 0)
<div class="ui red message">
	{{ $errors->first('error') }}
</div>
@endif

{{ Form::open() }}
<div class="ui two column grid">
	<div class="column">
		<div class="ui big fluid input">
			{{ Form::label('email', 'E-mail') }}
			{{ Form::text('email') }}
		</div>
		<div class="ui big fluid input">
			{{ Form::label('password', 'Password') }}
			{{ Form::password('password') }}
		</div>
		<div class="ui big fluid checkbox">
			{{ Form::label('remember', 'Remember me') }}
			{{ Form::checkbox('remember') }}
		</div>
		<div class="ui divider"></div>
		<button class="ui green big fluid icon button" type="submit">
			<i class="ui sign in icon"></i>
			Sign In
		</button>
	</div>
	<div class="column ui vertical menu">
		<a class="item" href="/signup">
			<i class="check icon"></i>
			Create an account
		</a>
		<a class="item" href="#">
			<i class="help icon"></i>
			Forgot your credentials?
		</a>
	</div>
{{ Form::close() }}
@stop